package com.example.InnerClass;

public class TestInner {
    public static void main(String[] args) {
        Outer.Inner i = new Outer().new Inner();
        System.out.println(i.num);
        i.show();
    }
}

class Outer {
    private int a = 10;

    class Inner {
        int num = 10;

        public void show() {
            System.out.println("Inner... show");
            System.out.println(a);
        }
    }
}
class OuterClass {
    class Inner {

    }
}